package com.nightpiter.view.graphics.impl.factories;

import com.nightpiter.view.graphics.abstaractions.AbstractShader;
import com.nightpiter.view.graphics.factories.RadialGradientFactory;
import com.nightpiter.view.graphics.impl.AndroidRadialGradient;

public class AndroidRadialGradientFactory extends RadialGradientFactory {

	@Override
	public AbstractShader create(float x, float y, float radius,
			int color0, int color1) {
		assert (radius > 0);
		return new AndroidRadialGradient(x, y, radius, color0, color1);
	}
}
